import { createRouter, createWebHistory } from "vue-router";
const routes =[
    {
        path:'/shouye',
        name:'shouye',
        component:()=>import('@/views/ShouYe.vue')
    },
    {
        path:'/release',
        name:'release',
        component:()=>import('@/views/Release.vue')
    },
    {
        path:'/car',
        name:'car',
        component:()=>import('@/views/Car.vue')
    },
    {
        path:'/personal',
        name:'personal',
        component:()=>import('@/views/Personal.vue')
    },
    {
        path:'/',
        redirect:{
            path:'/shouye'
        }
    } 
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router;
